
<%-- 
    Document   : Sendmsg
    Created on : Apr 26, 2011, 7:41:54 PM
    Author     : labib
--%>

 <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
   <%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!doctype html>
<logic:equal name="username" value="">
    <logic:forward name="login" />
</logic:equal>
    
        <script type="text/javascript" src="styleswitcher.js"></script>
<script type="text/javascript" src="forum_fn.js"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="te/tiny_mce.js"></script>
<script type="text/javascript">
	tinyMCE.init({
		// General options
		mode : "exact",
		elements : "myt",
		theme : "advanced",
		skin : "o2k7",
		skin_variant : "black",
		plugins : "lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",

		// Theme options
		theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
		theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
		theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,

		// Example content CSS (should be your site CSS)
		content_css : "css/content.css",

		// Drop lists for link/image/media/template dialogs
		template_external_list_url : "te/lists/template_list.js",
		external_link_list_url : "te/lists/link_list.js",
		external_image_list_url : "te/lists/image_list.js",
		media_external_list_url : "te/lists/media_list.js",

		// Replace values for the template plugin
		template_replace_values : {
			username : "Some User",
			staffid : "991234"
		}
	});
</script>

<link href="print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="temp.css" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="large.css" rel="alternate stylesheet" type="text/css" title="A++" />
  
        <form action="sendmsg.do" method="post">
         <h2>  
           Destination ID  <input type="text" name="dest"/> <html:errors property="userName" />
        </h2>
        <br><br><br><br>
        <h2>
        Message Title  <input type="text" name="title"/> <br><br><br><br>
        </h2>
      		<textarea id="myt" name="body" rows="15" cols="80" style="width: 80%">
		
	</textarea>
        
       <input type="submit" value="Send"/>
</form>

